<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="/css/list.css">
</head>

<body>
    <header class="header"></header>
    <div class="banner">
        <div class="page-nav"></div>
        <div class="page-container list-container w-full">
            <div class="cate-title">
                所有商品
                <span>(1216)</span>
            </div>
            <div class="filter-order">
                <a>新品排序</a>
                <ul class="filter-order-list dropdown-menu">
                    <li class=""><a href="javascript:;">价格由低到高</a></li>
                    <li class=""><a href="javascript:;">价格由高到低</a></li>
                </ul>
            </div>
            <ul class="goods-list" id="categoryList">
                    
            </ul>
            <script type="text/html" id="categoryTemplate">
                {{each list item}}
                <li>
                    <a href="/html/detail.html?id={{item.id}}">
                        <img src="{{item.src}}" alt="" class="goods-pic">
                        <p class="goods-name">{{item.title}}</p>
                        <p class="goods-price">{{item.price}}</p>
                    </a>
                </li>
                {{/each}}
            </script>
        </div>
    </div>
    <div class="footer"></div>
    <script src="/libs/require/require.min.js" data-main="/js/list"></script>
</body>

</html>